//
//  HomeListNewCell.m
//  ZPSALE
//
//  Created by fei on 14-9-1.
//  Copyright (c) 2014年 self. All rights reserved.
//

#import "HomeListNewCell.h"

@implementation HomeListNewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

-(void)awakeFromNib {
    _brandCollectBtn.layer.cornerRadius = 4.0f;

    _lineLabel.layer.borderWidth = 1.0f;
    _lineLabel.layer.borderColor = ColorFromRGB(0xE0E0E0).CGColor;
}
//-(void)drawRect:(CGRect)rect {
//    CGPoint point1 = CGPointMake(0.5, 168);
//    CGPoint point2 = CGPointMake(303.5, 168);
//    CGPoint point3 = CGPointMake(303.5, 212.5);
//    CGPoint point4 = CGPointMake(0.5, 212.5);
//    
//    CGContextRef ctx = UIGraphicsGetCurrentContext();
//    //设置颜色，仅填充4条边
//    CGContextSetStrokeColorWithColor(ctx, [ColorFromRGB(0xE0E0E0) CGColor]);
//    //设置线宽为1
//    CGContextSetLineWidth(ctx, 0.5);
//    //设置长方形4个顶点
//    CGPoint poins[] = {point1,point2,point3,point4};
//    CGContextAddLines(ctx,poins,4);
//    CGContextClosePath(ctx);
//    CGContextStrokePath(ctx);
//}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
